<?php

require("init.php");
$lsaction=$_GET['lsaction'];

switch ($lsaction) {
	case 'temporarylist':
		admin_main();
		chkpower('temporarylist');
		$GLOBALARR['curl']=YMCURL.'temporarylist';
		@include(UCENTERCOMP.'temporarylist.php');
		break;
	case 'dailiaudit':
		admin_main();
		chkpower('dailiaudit');
		$GLOBALARR['curl']=YMCURL.'dailiaudit';
		@include(UCENTERCOMP.'dailiaudit.php');
		break;
	case 'zhuanlist':
		admin_main();
		chkpower('zhuanlist');
		$GLOBALARR['curl']=YMCURL.'zhuanlist';
		@include(UCENTERCOMP.'zhuanlist.php');
		break;
	case 'configprice':
		admin_main();
		chkpower('configprice');
		$GLOBALARR['curl']=YMCURL.'configprice';
		@include(UCENTERCOMP.'configprice.php');
		break;
	case 'cunklist':
		admin_main();
		chkpower('cunklist');
		$GLOBALARR['curl']=YMCURL.'cunklist';
		@include(UCENTERCOMP.'cunklist.php');
		break;
	case 'outlog':
		admin_main();
		chkpower('outlog');
		$GLOBALARR['curl']=YMCURL.'outlog';
		@include(UCENTERCOMP.'outlog.php');
		break;
	case 'finaldetail':
		admin_main();
		chkpower('finaldetail');
		$GLOBALARR['curl']=YMCURL.'finaldetail';
		@include(UCENTERCOMP.'finaldetail.php');
		break;
	case 'products':
		admin_main();
		chkpower('products');
		$GLOBALARR['curl']=YMCURL.'products';
		@include(UCENTERCOMP.'products.php');
		break;
	case 'productsadd':
		admin_main();
		chkpower('products');
		$GLOBALARR['curl']=YMCURL.'productsadd';
		@include(UCENTERCOMP.'productsadd.php');
		break;
	case 'productview':
		admin_main();
		chkpower('products');
		$GLOBALARR['curl']=YMCURL.'productview';
		@include(UCENTERCOMP.'productview.php');
		break;
	case 'productin':
		admin_main();
		chkpower('products');
		$GLOBALARR['curl']=YMCURL.'productin';
		@include(UCENTERCOMP.'productin.php');
		break;
	case 'orders':
		admin_main();
		chkpower('orders');
		$GLOBALARR['curl']=YMCURL.'orders';
		@include(UCENTERCOMP.'orders.php');
		break;
	case 'dzorders':
		admin_main();
		chkpower('dzorders');
		$GLOBALARR['curl']=YMCURL.'dzorders';
		@include(UCENTERCOMP.'dzorders.php');
		break;
	case 'inlist':
		admin_main();
		chkpower('inlist');
		$GLOBALARR['curl']=YMCURL.'inlist';
		@include(UCENTERCOMP.'inlist.php');
		break;
	case 'addresslist':
		admin_main();
		chkpower('addresslist');
		$GLOBALARR['curl']=YMCURL.'addresslist';
		@include(UCENTERCOMP.'addresslist.php');
		break;
	case 'qianbaolist':
		admin_main();
		chkpower('qianbaolist');
		$GLOBALARR['curl']=YMCURL.'qianbaolist';

		@include(UCENTERCOMP.'qianbaolist.php');
		break;
    case 'qianbaoinfo':
        admin_main();
        chkpower('qianbaoinfo');
        $GLOBALARR['curl']=YMCURL.'qianbaoinfo';
        @include(UCENTERCOMP.'qianbaoinfo.php');
        break;
	case 'prizedetail':
		admin_main();
		chkpower('prizedetail');
		$GLOBALARR['curl']=YMCURL.'prizedetail';
		@include(UCENTERCOMP.'prizedetail.php');
		break;	
	case 'orderview_1':
		admin_main();
		chkpower('order');
		$GLOBALARR['curl']=YMCURL.'orderview_1';
		@include(UCENTERCOMP.'orderview_1.php');
		break;	
	case 'orderedit':
		admin_main();
		chkpower('order');
		$GLOBALARR['curl']=YMCURL.'orderedit';
		@include(UCENTERCOMP.'orderedit.php');
		break;	
	case 'sendgoods':
		admin_main();
		chkpower('order');
		$GLOBALARR['curl']=YMCURL.'sendgoods';
		@include(UCENTERCOMP.'sendgoods.php');
		break;
	case 'moduserinfo':
		admin_main();
		chkpower('formallist');
		$GLOBALARR['curl']=YMCURL.'moduserinfo';
		@include(UCENTERCOMP.'moduserinfo.php');
		break;
	case 'formallist':
		admin_main();
		chkpower('formallist');
		$GLOBALARR['curl']=YMCURL.'formallist';
		@include(UCENTERCOMP.'formallist.php');
		break;		
	case 'networkmap':
		admin_main();
		chkpower('networkmap');
		$GLOBALARR['curl']=YMCURL.'networkmap';
		@include(UCENTERCOMP.'networkmap.php');
		break;	
	case 'articlelist':
		admin_main();
		chkpower('articlelist');
		$GLOBALARR['curl']=YMCURL.'articlelist';
		@include(UCENTERCOMP.'articlelist.php');
		break;
	case 'articleedit':
		admin_main();
		chkpower('articlelist');
		$GLOBALARR['curl']=YMCURL.'articleedit';
		@include(UCENTERCOMP.'articleedit.php');
		break;
	case 'articleadd':
		admin_main();
		chkpower('articleadd');
		$GLOBALARR['curl']=YMCURL.'articleadd';
		@include(UCENTERCOMP.'articleadd.php');
		break;		
	case 'controlpass':
		admin_main();
		chkpower('controlpass');
		$GLOBALARR['curl']=YMCURL.'controlpass';
		@include(UCENTERCOMP.'controlpass.php');
		break;	
	case 'controllist':
		admin_main();
		chkpower('controllist');
		$GLOBALARR['curl']=YMCURL.'controllist';
		@include(UCENTERCOMP.'controllist.php');
		break;	
	case 'controledit':
		admin_main();
		chkpower('controllist');
		$GLOBALARR['curl']=YMCURL.'controledit';
		@include(UCENTERCOMP.'controledit.php');
		break;			
	case 'controladd':
		admin_main();
		chkpower('controladd');
		$GLOBALARR['curl']=YMCURL.'controladd';
		@include(UCENTERCOMP.'controladd.php');
		break;	
	case 'rolelist':
		admin_main();
		chkpower('rolelist');
		$GLOBALARR['curl']=YMCURL.'rolelist';
		@include(UCENTERCOMP.'rolelist.php');
		break;
	case 'roleadd':
		admin_main();
		chkpower('roleadd');
		$GLOBALARR['curl']=YMCURL.'roleadd';
		@include(UCENTERCOMP.'roleadd.php');
		break;
	case 'roleedit':
		admin_main();
		chkpower('rolelist');
		$GLOBALARR['curl']=YMCURL.'roleedit';
		@include(UCENTERCOMP.'roleedit.php');
		break;
	case 'sentencesql':
		admin_main();
		chkpower('sentencesql');
		$GLOBALARR['curl']=YMCURL.'sentencesql';
		@include(UCENTERCOMP.'sentencesql.php');
	break;	
	case 'lockip':
		admin_main();
		chkpower('lockip');
		$GLOBALARR['curl']=YMCURL.'lockip';
		@include(UCENTERCOMP.'lockip.php');
	break;	
	case 'convert':
		admin_main();
		chkpower('convert');
		$GLOBALARR['curl']=YMCURL.'convert';
		@include(UCENTERCOMP.'convert.php');
	break;	
	case 'swithout':
		admin_main();
		chkpower('swithout');
		$GLOBALARR['curl']=YMCURL.'swithout';
		@include(UCENTERCOMP.'swithout.php');
	break;	
	case 'swithin':
		admin_main();
		chkpower('swithin');
		$GLOBALARR['curl']=YMCURL.'swithin';
		@include(UCENTERCOMP.'swithin.php');
	break;	
	case 'configset':
		admin_main();
		chkpower('configset');
		$GLOBALARR['curl']=YMCURL.'configset';
		@include(UCENTERCOMP.'configset.php');
	break;
    case 'teamset':
        admin_main();
        chkpower('teamset');
        $GLOBALARR['curl']=YMCURL.'teamset';
        @include(UCENTERCOMP.'teamset.php');
        break;
    case 'setprice':
        admin_main();
        chkpower('setprice');
        $GLOBALARR['curl']=YMCURL.'setprice';
        @include(UCENTERCOMP.'setprice.php');
        break;
	case 'huodong':
		admin_main();
		$GLOBALARR['curl']=YMCURL.'huodong';
		@include(UCENTERCOMP.'huodong.php');
	break;
	case 'ttlog':
		admin_main();
		chkpower('ttlog');
		$GLOBALARR['curl']=YMCURL.'ttlog';
		@include(UCENTERCOMP.'logs.php');
	break;
	case 'index':
		admin_main();

		@include(UCENTERCOMP.'index.php');
	break;
	default:
		echo "非法访问";
		unset($_SESSION['houid']);
		unset($_SESSION['houname']);
		unset($_SESSION['bmb']);
		header("Location:../login.php");
	break;
}
admin_foot();
?>